package org.nobody.mallb2c.mallproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.nobody.common.utils.PageUtils;
import org.nobody.mallb2c.mallproduct.entity.ProductAttrValueEntity;

import java.util.List;
import java.util.Map;

/**
 * spu属性值
 *
 * @author fancier
 * @email fancier2093@gmail.com
 * @date 2020-07-30 16:25:26
 */
public interface ProductAttrValueService extends IService<ProductAttrValueEntity> {

  PageUtils queryPage(Map<String, Object> params);

  void saveProductAttr(List<ProductAttrValueEntity> collect);

  List<ProductAttrValueEntity> baseAttrlistforspu(Long spuId);

  void updateSpuAttr(Long spuId, List<ProductAttrValueEntity> entities);
}

